//
//  STPopMenuViewController.h
//  GrapeGold
//
//  Created by Mac on 2018/5/7.
//  Copyright © 2018年 stoneobs@icloud.com. All rights reserved.
//

#import <UIKit/UIKit.h>
/************菜单弹出框******************/
@interface STPopMenuViewController : UIViewController
@property(nonatomic, strong) NSArray<NSString*>                     *titlesArray;/**< 数组 */
@property(nonatomic, strong) UIColor                     *titleColor ;/**< 颜色 */
@property(nonatomic, strong) UIColor                     *itemBackgourndColor;/**< 背景颜色 */
@property(nonatomic, strong) UIColor                     *lineColor ;/**< 分割线颜色 */
@property(nonatomic, copy) void(^onSelctedItemHandle)(STPopMenuViewController * menuVc,NSInteger index,NSString * chosedTitle)           ;/**< 回调 */

- (instancetype)initWithSize:(CGSize)size targetView:(UIView*)targetView;//上下结构 弹窗
//设置单个颜色
- (void)setItemTitleColor:(UIColor*)color atIndex:(NSInteger)index;
@end
